Edge detection system and its use for machine learning

ABSTRACT

Systems and methods are disclosed that remove noise from roughness measurements to determine roughness of a feature in a pattern structure. In one embodiment, a method includes generating, using an imaging device, a set of one or more images, each including an instance of a feature within a respective pattern structure. The method also includes detecting edges of the features within the pattern structure of each image using an inverse linescan model, generating a biased power spectral density (PSD) dataset representing feature geometry information corresponding to the edge detection measurements, evaluating a high-frequency portion of the biased PSD dataset to determine a noise model for predicting noise over all frequencies of the biased PSD dataset, and subtracting the noise predicted by the determined noise model from a biased roughness measure to obtain an unbiased roughness measure provided as part of a training data set to a machine learning model.

CROSS REFERENCE TO RELATED APPLICATIONS

This patent application is a continuation-in-part of and claims priority to U.S. application Ser. No. 16/218,346 filed Dec. 12, 2018 titled “System and Method for Generating Roughness Measurements,” U.S. application Ser. No. 16/222,668 filed Dec. 17, 2018 titled “Edge Detection System,” and U.S. application Ser. No. 16/218,338 filed Dec. 12, 2018 titled “System and Method for Removing Noise from Roughness Measurements.” As a continuation in part of U.S. application Ser. No. 16/218,346, this application claims priority to Ser. No. 15/892,080 filed Feb. 8, 2018 titled “Edge Detection System” (now U.S. Pat. No. 10,176,966). This application further claims priority to U.S. Provisional Patent Application No. 62/739,721 filed Oct. 1, 2018 titled “System and Method for Generating and Analyzing Roughness Measurements,” and U.S. Provisional Patent Application No. 62/678,866 filed May 31, 2018 titled “System and Method for Removing Noise From Roughness Measurements,” and U.S. Provisional Patent Application No. 62/602,152, filed Apr. 13, 2017 and titled “Edge Detection System.” All applications are incorporated by reference herein as if reproduced in full below.

BACKGROUND

The disclosures herein relate generally to roughness measurements of pattern structures, and more particularly, to roughness measurements of pattern structures in noise-prone images, such as in images formed when using a scanning electron microscope (SEM) or other imaging apparatus that produce images including undesired noise, and even more particularly, to calibrating a machine-learning based model such as a lithography/etch/patterning model or a metrology model using the roughness measurements of pattern structures.

BRIEF SUMMARY

Disclosed herein are systems and methods that remove noise from roughness measurements to determine roughness of a feature in a pattern structure and extracting useful information from those measurements. In one embodiment, a method for determining roughness of a feature in a pattern structure includes generating, using an imaging device, a set of one or more images. Each image of the set includes one or more instances of a feature within a respective pattern structure, and each image includes measured linescan information corresponding to the pattern structure that includes noise. The method also includes detecting edges of the features within the pattern structure of each image of the set without filtering the images, generating a biased power spectral density (PSD) dataset representing feature geometry information corresponding to the edge detection measurements of the set of images, evaluating a high-frequency portion of the biased PSD dataset to determine a noise model for predicting noise over all frequencies of the biased PSD dataset, and subtracting the noise predicted by the determined noise model from a biased roughness measure to obtain an unbiased roughness measure.

The method further includes using the unbiased roughness measures to calibrate a machine-learning based model such as a lithography/etch/patterning model or a metrology model. Lithography models that predict stochastic effects such as pattern edge errors or pattern defects are generally calibrated with measured roughness and defect data. The accuracy of the resulting predictions can be greatly improved by using unbiased roughness measurements. The same is true for etch models, or patterning models in general. Additionally, machine-learning based metrology models could take in biased roughness data such as noisy images and output estimates of the unbiased roughness or other metrology parameters. Calibrating these models is improved with the use of unbiased roughness measurements.

In another embodiment, a system for determining roughness of a feature in a pattern structure includes an imaging device for generating a set of one or more images, and a processor. Each image of the set includes one or more instances of a feature within a respective pattern structure, and each image includes measured linescan information corresponding to the pattern structure that includes noise. The processor is coupled to receive the measured linescan information from the imaging device. The processor is configured to detect edges of the features within the pattern structure of each image of the set without filtering the images, generate a biased power spectral density (PSD) dataset representing feature geometry information corresponding to the edge detection measurements of the set of images, evaluate a high-frequency portion of the biased PSD dataset to determine a noise model for predicting noise over all frequencies of the biased PSD dataset, subtract the noise predicted by the determined noise model from a biased roughness measure to obtain an unbiased roughness measure, and use the obtained roughness measures to calibrate a machine-learning based model.

BRIEF DESCRIPTION OF THE DRAWINGS

The appended drawings illustrate only exemplary embodiments of the invention and therefore do not limit its scope because the inventive concepts lend themselves to other equally effective embodiments.

FIG. 1A is a representation of a pattern structure that exhibits parallel line features with spaces in between the lines.

FIG. 1B is a representation of a pattern structure that includes contact hole features.

FIG. 2 shows four different rough edges, all with the same standard deviation.

FIG. 3 is a representation of power spectral density (PSD) vs. frequency on a log-log scale.

FIG. 4 is a graphic representation of power spectral density (PSD) plotted vs. frequency and depicting roughness parameters PSD(0), correlation length, and roughness exponent.

FIG. 5 shows two power spectral densities (PSDs) corresponding to respective edges of a feature on a pattern structure.

FIG. 6 is a graphic representation of the tradeoff of within-feature variation and feature-to-feature variation as a function of line length.

FIG. 7 is a block diagram of a scanning electron microscope (SEM) coupled to an information handling system (IHS) that together form one embodiment of the disclosed edge detection apparatus.

FIG. 8A is a representation of a feature disposed on a substrate that depicts an electron beam impinging on the center of the feature.

FIG. 8B is a representation of a feature disposed on a substrate that depicts an electron beam impinging on the feature near its edge.

FIG. 9 shows a gray scale image representation on top with a corresponding grayscale linescan along one horizontal cut being graphically plotted immediately below.

FIG. 10 shows an example of a pattern structure including a feature situated atop a substrate with varying numbers of electrons escaping from the pattern structure depending on where the electron beam impinges on the pattern structure.

FIG. 11 shows a predicted linescan of a resist step on a pattern structure such as a silicon wafer.

FIG. 12 shows another representative predicted linescan of a pattern of resist lines and spaces on a silicon wafer.

FIG. 13A is an original SEM image of a pattern structure without using the disclosed edge detection apparatus and method.

FIG. 13B is the same SEM image as FIG. 13A except using the disclosed edge detection apparatus and method.

FIG. 14 is a Raw (Biased) linewidth roughness plot vs. threshold settings showing both a prior art result (using a filter with conventional threshold edge detection), and a result using no filter and an inverse linescan model (ILM).

FIG. 15A is a power spectral density (PSD) vs. frequency plot of the right and left edges of a feature shown before noise subtraction.

FIG. 15B is a power spectral density (PSD) vs. frequency plot of the right and left edges of a feature shown after noise subtraction.

FIG. 16 shows portions of three SEM images of nominally the same lithographic features taken at different SEM electron doses.

FIG. 17A shows a typical linescan for a line feature on a wafer for a case when there is an extremely large number of electrons so that the pixel noise is negligible.

FIG. 17B shows the 1-sigma uncertainty in edge detection position for perfectly smooth features in the presence of grayscale noise, for three different X pixel sizes.

FIG. 17C shows grayscale images as an example of using a simple threshold edge detection algorithm with image filtering in the right image, and without image filtering in the left image.

FIG. 18 is a plot of linewidth roughness (LWR) PSD vs. frequency that shows the impact of two different image filters on a collection of 30 images.

FIG. 19 is a power spectral density plot vs. frequency that shows the noise subtraction process of the disclosed edge detection apparatus and method.

FIG. 20 shows PSDs of a particular resist feature type on a given wafer, measured with different frames of integration in the SEM.

FIG. 21 shows the biased and unbiased values of the 36 linewidth roughness (LWR) measured as a function of the number of frames of integration in the SEM.

FIG. 22A shows biased linewidth roughness (LWR) power spectral densities (PSDs) as a function of different pixel sizes and magnifications employed by the SEM.

FIG. 22B shows unbiased linewidth roughness (LWR) power spectral densities (PSDs) as a function of different pixel sizes and magnifications employed by the SEM.

FIG. 23 is a flowchart that depicts a representative overall process flow that the disclosed SEM edge detection system employs to detect edges of a pattern structure.

FIG. 24A is a grayscale representation of a pattern structure of vertical lines and spaces that the disclosed metrology tool analyzes.

FIG. 24B shows a single linescan at one Y-pixel position.

FIG. 24C shows the averaged linescan that is generated by averaging over all Y-pixels.

DETAILED DESCRIPTION

Measuring the roughness of a pattern is complicated by the fact that noise in the measurement system is difficult to differentiate from the roughness being measured. It is common to using an imaging tool, such as a microscope, to create a detailed image of an object to be measured and then analyzing the information on that image to measure and characterize the roughness of one or more features of the object. In this case, noise in the acquired image can appear to be roughness of the features in the image. Described below are techniques useful to separate the noise in the image from the actual roughness of the features in order to produce more accurate measurements of the roughness of the features (so-called unbiased measurements).

As an example, scanning electron microscopes (SEMs) are very useful for studying the features of pattern structures, such as semiconductor devices, for example. Unfortunately, measuring feature roughness of these structures is often challenging because of the noise that is inherent in SEM images. Filtering (smoothing) of the SEM image is typically needed to achieve accurate edge detection, but such filtering undesirably changes the feature roughness that is measured. An edge detection approach is needed that reliably detects edges in very noisy SEM images without the use of image filtering (or at least without any filtering that would change the feature roughness that is measured). For the purposes of this description, the application of a so-called “edge-preserving filter” that does not appreciably change the power spectral density of the measured feature roughness will be included in the category of “without the use of image filtering”.

Pattern roughness is a major problem in many fields. Many if not all techniques for creating patterns of various shapes produce roughness on the edges of those patterns, at least on the near molecular scale if not larger scales. For example, in advanced lithography for semiconductor manufacturing, especially for extreme ultraviolet (EUV) lithography but for other lithography methods as well, roughness of the printed and etched patterns can cause many negative effects. Reduction in roughness requires a better understanding of the sources of stochastic variation, which in turn requires better measurement and characterization of rough features. Prior art roughness measurement approaches suffer from severe bias because noise in the image adds to the roughness on the wafer. The disclosures herein provide a practical approach to making unbiased roughness measurements through the use of an inverse linescan model. This enables accurate and robust measurement of roughness parameters over a wide range of SEM metrology conditions.

Before discussing embodiments of the disclosed technology that address the SEM image noise problem, this disclosure first discusses lithography of pattern structures and the frequency dependence of roughness.

1. Stochastic Effects in Lithography

Lithography and patterning advances continue to propel Moore's Law by cost-effectively shrinking the area of silicon consumed by a transistor in an integrated circuit. Besides the need for improved resolution, these lithography advances should also allow improved control of the smaller features being manufactured. Historically, lithographers focused on “global” sources of variation that affect patterning fidelity (e.g., exposure dose and focus variations, hotplate temperature non-uniformity, scanner aberrations) by attempting to minimize the sources of these variations and by developing processes with minimum sensitivity to these variations. Today's small features, however, also suffer from “local” variations caused by the fundamental stochastics of patterning near the molecular scale.

A stochastic process is any process where there is a random component to the outcome. From a practical perspective, we call a process a stochastic process when the random variations in the outcomes are noticeable relative to measurement uncertainties for those outcomes, and where the random variations in the outcomes are considered “significant” relative to the performance of the device. Often, a manufacturing process will define a maximum allowed variation in some outcome (generally using some statistical criterion), which can be called the variational specification for that outcome. When the stochastic variation of the output of a process is a large enough fraction of the variational specification of that process (for example, more than 20%), we describe the process as being a stochastic process.

In lithography, light is used to expose a photosensitive material called a photoresist. The resulting chemical reactions (including those that occur during a post-exposure bake) change the solubility of the resist, enabling patterns to be developed and producing the desired critical dimension (CD). For a volume of resist that is “large” (that is, a volume that contains many, many resist molecules), the amount of light energy averaged over that volume produces a certain amount of chemical change (on average) which produces a certain (average) amount of dissolution to create the pattern. The relationships between light energy, chemical concentration, and dissolution rate can be described with deterministic equations that predict outputs for a given set of inputs. These models of lithography are extremely useful and are commonly used to understand and control lithography processes for semiconductor manufacturing.

This deterministic view of a lithography process (certain inputs always produce certain outputs) is only approximately true. The “mean field theory” of lithography says that, on average, the deterministic models accurately predict lithographic results. If we average over a large number of photons, a single number for light energy (the average) is sufficient to describe the light energy. For a large volume of resist, the average concentration of a chemical species sufficiently describes its chemical state. But for very small volumes, the number of atoms or molecules in the volume becomes random even for a fixed “average” concentration. This randomness within small volumes (that is, for small quantities of photons or molecules or numbers of events) is generally referred to as “shot noise”, and is an example of a stochastic variation in lithography that occurs when the region of interest approaches the molecular scale.

A stochastic process is one in which the results of the process are randomly determined. At the atomic/molecular level, essentially all processes are stochastic. For semiconductor patterning at the 20-nm node and below (with minimum feature sizes below 40 nm), the dimensions of interest are sufficiently small that stochastic effects become important and may even dominate the total variations that affect the dimensions, shapes, and placements of the patterns being fabricated. These stochastic effects can also be important for larger feature sizes under some circumstances.

The most prominent manifestation of stochastic variations in lithography (as well as etch and other parts of the patterning process) is that the patterns being produced are rough rather than smooth (FIG. 1A). In the pattern structure shown in FIG. 1A, nominally parallel vertical lines appear as bright vertical regions, while spaces appear as dark vertical regions between the lines. The roughness of the edge of a feature is called line-edge roughness (LER), and the roughness of the width of a feature is called linewidth roughness (LWR). The roughness of the centerline of the feature (the midpoint between left and right edges) is called pattern placement roughness (PPR). Another important consequence of these stochastic variations is the random variation of the size, shape, and placement of features, which are especially evident for contact hole features (FIG. 1B).

Stochastic effects in patterning can reduce the yield and performance of semiconductor devices in several ways: a) Within-feature roughness can affect the electrical properties of a device, such as metal line resistance and transistor gate leakage; b) Feature-to-feature size variation caused by stochastics (also called local CD uniformity, LCDU) adds to the total budget of CD variation, sometimes becoming the dominant source; c) Feature-to-feature pattern placement variation caused by stochastics (also called local pattern placement error, LPPE) adds to the total budget of PPE, sometimes becoming the dominant source; d) Rare events leading to greater than expected occurrence of catastrophic bridges or breaks are more probable if error distributions have fat tails; and e) Decisions based on metrology results (including process monitoring and control, as well as the calibration of various models) can be poor if those metrology results do not properly take into account stochastic variations. For these reasons, proper measurement and characterization of stochastic-induced roughness is critical.

Many other kinds of devices are also sensitive to feature roughness. For example, roughness along the edge of an optical waveguide can cause loss of light due to scattering. Feature roughness in radio frequency microelectromechanical systems (MEMS) switches can affect performance and reliability, as is true for other MEMS devices. Feature roughness can degrade the output of light emitting diodes. Edge roughness can also affect the mechanical and wetting properties of a feature in microfluidic devices. Roughness of the features in a wire grid polarizer can affect the efficiency and transmission of the polarizer.

Unfortunately, prior art roughness measurements (such as the measurement of linewidth roughness or line-edge roughness using a critical dimension scanning electron microscope, CD-SEM) are contaminated by measurement noise caused by the measurement tool. This results in a biased measurement, where the measurement noise adds to the true roughness to produce an apparent roughness that overestimates the true roughness. Furthermore, these biases are dependent on the specific measurement tool used and on its settings. These biases are also a function of the patterns being measured. Prior art attempts at providing unbiased roughness estimates often struggle in many of today's applications due to the smaller feature sizes and higher levels of SEM noise.

Thus, there is a need for a new approach to making unbiased roughness measurements that avoids the problems of prior art attempts and provides an unbiased estimate of the feature roughness that is both accurate and precise. Further, a good pattern roughness measurement method should have minimum dependence on metrology tool settings. CD-SEM settings such as magnification, pixel size, number of frames of averaging (equivalent to total electron dose in the SEM), voltage, and current may cause fairly large changes in the biased roughness that is measured. Ideally, an unbiased roughness measurement would be independent of these settings to a large degree.

Additionally, bias in the measurement of roughness degrades the quality and usefulness of the roughness measurements themselves. The results of roughness measurement can be used in many ways to make many types of decisions, for example, when calibrating a lithography model that includes the prediction of roughness or other stochastic results.

Lithography models (and more generally patterning models) have many uses in semiconductor manufacturing. For example, one type of lithography model is called an optical proximity correction (OPC) model. It is used to make corrections to the layout of features to be placed on a photomask in order to correct for optical proximity and other process effects that change the edge positions of the features compared to their ideal, designed, or desired positions. Before use, patterning models are calibrated, most commonly with data measured using a SEM. Example lithography models include an OPC model, a soure-mask optimization model, and a mask model.

Some patterning models make predictions about stochastic variations, such edge placement errors caused by roughness or stochastic effects. When such models are calibrated, they typically require measured roughness data, such as line-edge roughness, linewidth roughness, or power spectral density information. Often this data is collected for different feature types, feature sizes, and feature pitches. Example patterning models include an etch simulation model, and a deposition simulation model.

For models that are calibrated with experimental data, the quality of the predictions (outputs) of the model are generally a strong function of the quality of the data used to calibrate the model. This general statement is true when the data used to calibrate the model is roughness data. Biases in the roughness data used to calibrate a patterning model, such as an OPC model, will reduce the accuracy of the outputs of that model. If the biases are significant enough, the predictions made by the model could be significantly inaccurate.

Thus, the calibration of a patterning model would benefit greatly from the use of unbiased roughness measurements rather than the traditional biased roughness measurements.

One type of patterning model makes use of machine learning, including physics-guided machine learning. Machine learning, typically considered a subset of artificial intelligence, is a collection of algorithms and statistical models used to perform tasks based on the recognition of patterns and the use of inference.

Machine-learning-based metrology models can be used to “de-noise” an image or to produce unbiased roughness measurements when a noisy image is used as an input. Like patterning models, such metrology models require calibration using unbiased roughness measurements. Example metrology models include an image de-noising model and an unbiased roughness measurement model.

2. The Frequency Dependence of Line-Edge Roughness (LER), Line-Width Roughness (LWR), and Pattern Placement Roughness (PPR)

Rough features are most commonly characterized by the standard deviation of the edge position (for LER), linewidth (for LWR), or feature centerline (for PPR). But describing the standard deviation is not enough to fully describe the roughness. FIG. 2 shows four different rough edges, all with the same standard deviation. The prominent differences visible in the edges make it clear that the standard deviation is not enough to fully characterize the roughness. Instead, a frequency analysis of the roughness is required. The four randomly rough edges depicted in FIG. 2 all have the same standard deviation of roughness, but differ in the frequency parameters of correlation length (ξ) and roughness exponent (H). More specifically, with respect to FIG. 2, in case a) ξ=10, H=0.5; in case b) ξ=10, H=1.0; in case c) ξ=100, H=0.5; and in case d) ξ=0.1, H=0.5.

The standard deviation of a rough edge describes its variation relative to and perpendicular to an ideal straight line. In FIG. 2, the standard deviation describes the vertical variation of the edge. But the variation can be spread out differently along the length of the line (in the horizontal direction in FIG. 2). This line-length dependence can be described using a correlation function such as the autocorrelation function or the height-height correlation function.

Alternatively, the frequency f can be defined as one over a length along the line (FIG. 3). The dependency of the roughness on frequency can be characterized using the well-known power spectral density (PSD). The PSD is the variance of the edge per unit frequency (FIG. 3), and is calculated as the square of the coefficients of the Fourier transform of the edge deviation. The low-frequency region of the PSD curve describes edge deviations that occur over long length scales, whereas the high-frequency region describes edge deviations over short length scales. Commonly, PSDs are plotted on a log-log scale as used in FIG. 3.

The PSD of lithographically defined features generally has a shape similar to that shown in FIG. 3. The low-frequency region of the PSD is flat (so-called “white noise” behavior), and then above a certain frequency it falls off as a power of the frequency (a statistically fractal behavior). The difference in these two regions has to do with correlations along the length of the feature. Points along the edge that are far apart are uncorrelated with each other (statistically independent), and uncorrelated noise has a flat power spectral density. But at short length scales the edge deviations become correlated, reflecting a correlating mechanism in the generation of the roughness, such as acid reaction-diffusion for a chemically amplified resist. The transition between uncorrelated and correlated behavior occurs at a distance called the correlation length.

FIG. 4 shows that a typical PSD curve can be described with three parameters. PSD(0) is the zero-frequency value of the PSD. While this value of the PSD can never be directly measured (zero frequency corresponds to an infinitely long line), PSD(0) can be thought of as the value of the PSD in the flat low-frequency region. The PSD begins to fall near a frequency of 1/(2πξ) where ξ is the correlation length. In the fractal region, we have what is sometimes called “1/f” noise and the PSD has a slope (on the log-log plot) corresponding to a power of 1/f. The slope is defined as 2H+1 where H is called the roughness exponent (or Hurst exponent). Typical values of H are between 0.5 and 1.0. For example, H=0.5 when a simple diffusion process causes the correlation. Each of the parameters of the PSD curve has important physical meaning for a lithographically defined feature as discussed in more detail below. The variance of the roughness is the area under the PSD curve and can be derived from the other three PSD parameters. The exact relationship between variance and the other three PSD parameters depends on the exact shape of the PSD curve in the mid-frequency region (defined by the correlation length), but an approximate relationship can be used to show the general trend, as per EQUATION 1 below:

$\begin{matrix} {\sigma^{2} \approx \frac{{PSD}(0)}{\left( {{2H} + 1} \right)\xi}} & {{EQUATION}\mspace{14mu} 1} \end{matrix}$

The differences observed in the respective four rough edges of FIG. 2 can now be easily seen as differences in the PSD behavior of the features. FIG. 5 shows two PSDs, corresponding to edge a) and edge c) from FIG. 2. While these two edges have the same variance (the same area under the PSD curve), they have different values of PSD(0) and correlation length (in this case the roughness exponent was kept constant). Although the standard deviations of the roughness of edge a) and edge c) are the same, these edges exhibit different PSD behaviors. As discussed below, the different PSD curves will result in different roughness behavior for lithographic features of finite length.

3. Impact of the Frequency Behavior of Roughness

The roughness of the lines and spaces of pattern structures is characterized by measuring very long lines and spaces, sufficiently long that the flat region of the PSD becomes apparent. For a sufficiently long feature the measured LWR (that is, the standard deviation σ of the measured linewidths along the line) can be thought of as the LWR of an infinitely long feature, σ_(LWR)(∞). But pattern structures such as semiconductor devices are made from features that have a variety of lengths L. For these shorter features, stochastics will cause within-feature roughness, σ_(LWR)(L), and feature-to-feature variation described by the standard deviation of the mean linewidths of the features, σ_(CDU)(L). This feature-to-feature variation is called the local critical dimension uniformity, LCDU, since it represents CD (critical dimension) variation that is not caused by the well-known “global” sources of error (scanner aberrations, mask illumination non-uniformity, hotplate temperature variation, etc.).

For a line of length L, the within-feature variation and the feature-to-feature variation can be related to the LWR of an infinitely long line (of the same nominal CD and pitch) by the Conservation of Roughness principle given in EQUATION 2 below:

σ_(CDU) ²(L)+σ_(LWR) ²(L)=σ_(LWR) ²(∞)  EQUATION 2

The Conservation of Roughness principle says that the variance of a very long line is partitioned for a shorter line into within-feature variation and feature-to-feature variation. How this partition occurs is determined by the correlation length, or more specifically by L/ξ. Using a basic model for the shape of the PSD as an example, it is seen that:

$\begin{matrix} {{\sigma_{CDU}^{2}(L)} = {\frac{{PSD}(0)}{L}\left\lbrack {1 - {\frac{\xi}{L}\left( {1 - e^{{- L}/\xi}} \right)}} \right\rbrack}} & {{EQUATION}\mspace{14mu} 3} \end{matrix}$

Thus, EQUATIONS 1-3 show that a measurement of the PSD for a long line, and its description by the parameters PSD(0), ξ, and H, enables one to predict the stochastic influence on a line of any length L. It is noted that the LCDU does not depend on the roughness exponent, making H less important than PSD(0) and ξ. For this reason, it useful to describe the frequency dependence of roughness using an alternate triplet of parameters: σ_(LWR)(∞), PSD(0), and ξ. Note that these same relationships apply to LER and PPR as well.

It is also noted that, examining EQUATION 3, the correlation length is the length scale that determines whether a line of length L acts “long” or “short”. For a long line, L>>ξ and the local CDU behaves as per EQUATION 4 below:

$\begin{matrix} {{{\sigma_{CDU}(L)} \approx {\sqrt{\frac{{PSD}(0)}{L}\;}\mspace{14mu} {when}\mspace{14mu} L}}\operatorname{>>}\xi} & {{EQUATION}\mspace{14mu} 4} \end{matrix}$

This long-line result provides a useful interpretation for PSD(0): It is the square of the LCDU for a given line times the length of that line. Reducing PSD(0) by a factor of 4 reduces the LCDU by a factor of 2, and the other PSD parameters have no impact (so long as L>>ξ). Typically, resists have yielded correlation lengths on the order of one quarter to one half of the minimum half-pitch of their lithographic generation. Thus, when features are longer than approximately five times the minimum half-pitch of the technology node, we are generally in this long line length regime. For shorter line lengths, the correlation length begins to matter as well.

EQUATIONS 1-3 show a trade-off of within-feature variation and feature-to-feature variation as a function of line length. FIG. 6 shows an example of this relationship. For very long lines, LCDU is small and within-feature roughness approaches its maximum value. For very short lines the LCDU dominates. However, due to the quadratic nature of the Conservation of Roughness, σ_(LWR)(L) rises very quickly as L increases, but LCDU falls very slowly as L increases. Thus, there is a wide range of line lengths where both feature roughness and LCDU are significant.

Since the Conservation of Roughness principle applies to PPR as well, short features suffer not only from local CDU problems but also from local pattern placement errors (LPPE) as well. For the case of uncorrelated left and right edges of a feature, the PSD(0) for LWR is typically twice the PSD(0) of the LER. Likewise, the PSD(0) of the LER is typically twice the PSD(0) of the PPR. Thus, in general, the LPPE is about half the LCDU. When left and right feature edges are significantly correlated, these simple relationships no longer hold.

Measured power spectral density data can be used to calibrate a lithography model or a patterning model, such as an OPC model, or a metrology model. Alternately, parameters based on a PSD, such as PSD(0), correlation length, and roughness exponent, can be used in the calibration of a lithography model. Unbiased estimates of the PSD, or the PSD parameters, will result in a more accurate calibrated lithography model as compared to the use of a biased PSD or biased PSD parameters for said calibration.

4. Measurements of the Roughness of Pattern Structures with a Scanning Electron Microscope (SEM)

A common way to measure feature roughness for small features is the top-down critical dimension scanning electron microscope (CD-SEM). Typical light microscopes have magnifications up to 1000× and resolutions down to a few hundred nanometers. Scanning electron microscopes use electrons to create very small spots (near 1 nm in width) that can be used to create high-resolution images, with magnifications above 20,000×. CD-SEMs are SEMs that have been optimized for measuring the dimensions of a wide range of features found on semiconductor wafers. They can measure the mean critical dimension of a rough feature with high precision, but have also proven very useful for measuring LER, LWR, PPR, and their PSDs as well. However, there are errors in the SEM images that can have large impacts on the measured roughness and the roughness PSD while having little impact on the measurement of mean CD. For this reason, the metrology approach needed for PSD measurement may be quite different than the approach commonly used for mean CD measurement.

FIG. 7 shows a block diagram of one embodiment of the disclosed measurement system 700 that determines feature roughness. The pattern structure sample 800 and the electron imaging optics (710, 715, 720, 725) are situated in a vacuum chamber 703 that is evacuated by vacuum pump 702. Electrons are generated from a source such as an electron gun 705 to form an electron beam 707. Common electron beam sources include a heated tungsten filament, a lanthanum hexaboride (LaB6) crystal formed into a thermionic emission gun, or a sharp-tipped metal wire formed to make a field emission gun. The emitted electrons are accelerated and focused using electromagnetic condenser lenses 710, 715, and 720. The energy of the electrons striking the pattern structure sample 800 is generally in the 200 eV to 40 keV range in SEMs, but more typically 300 eV to 800 eV for CD-SEMs. Final condenser lens 720 employs scanning coils 725 to provide an electric field that deflects electron beam 707 toward pattern structure 800 as a focused spot. Scanning coils 725 scan the focused spot across the pattern structure 800 through final lens aperture 735 in a raster scan fashion to expose a specific field of view on the pattern structure 800. SEM 701 includes a backscatter electron detector 740 that detects backscatter electrons scattering back from pattern structure sample 800. SEM 700 also includes a secondary electron detector 745, as shown in FIG. 7. Prior to imaging pattern structure 800, the user places pattern structure 800 on a pattern structure receiver 732 that supports and positions pattern structure 800 within SEM 700. SEM 700 includes a controller (not shown) that controls the raster scanning of pattern structure 800 during imaging.

Referring now to FIGS. 8A and 8B, the electrons of electron beam 705 that strike pattern structure sample 800 undergo a number of processes that depend on the energy of the electron and the material properties of the sample. Electrons scatter off the atoms of the sample material, release energy, change direction, and often generate a cascade of secondary electrons by ionizing the sample atoms. Some of these secondary electrons may escape from the pattern structure (805) and others may remain inside the pattern structure. Pattern structure 800 includes a substrate 810, such as a semiconductor wafer. A feature 815 is disposed atop substrate 810, as shown in FIG. 8A. Feature 815 may be a metallic line, a semiconductor line, a photoresist line or other structures on substrate 810. Feature 815 may have other shapes such as a pillar or a hole, or more complicated shapes. Feature 815 may be repeating or isolated with respect to other features on the pattern structure. The space surrounding feature 815 may be empty (vacuum or air) or may be filled with a different material. Pattern structure 800 may be a liquid crystal or other flat panel display, or other pattern semiconductor or non-semiconductor device. Feature 815 includes edges 815-1 and 815-2. The region of feature 815 where electron beam 705 interacts with feature 815 is the interaction volume 820 that exhibits, for example, a tear-droplet-like shape as depicted in FIG. 8A.

Occasionally electrons ricochet backwards off the atom nucleus and exit out of the sample (called backscatter electrons). Some of the lower energy secondary electrons can also escape out of the sample 805 (frequently through the edges of a feature, see FIG. 8B). The way in which a SEM forms an image is by detecting the number of secondary electrons and/or backscatter electrons that escape the sample for each beam position.

As the electron beam is scanned across pattern structure sample 800 during one linescan, it “dwells” at a specific spot for a specific time. During that dwell time, the number of electrons detected by either the backscatter detector 740 or secondary electron detector 745, or both, is recorded. The spot is then moved to the next “pixel” location, and the process is repeated. The result is a two-dimensional array of pixels (locations along the surface of the sample) with detected electron counts digitally recorded for each pixel. The counts are typically then normalized and expressed as an 8-bit grayscale value between 0 and 255. This allows the detected electron counts to be plotted as a grayscale “image”, such as those images shown in FIG. 1. While the image coming from a SEM reminds a viewer of an optical image as perceived through the eye, it is important to note that these grayscale images are actually just convenient plots of the collected data.

A CD-SEM measures the width of a feature using the SEM image. The first step in measuring feature width is to detect the edges of the features. For pixels near an edge of a feature, higher numbers of secondary electrons escape through the feature edge, producing bright pixels called “edge bloom” (see FIG. 8B and FIG. 9). It is this bright edge bloom that allows the feature edge to be detected. For example, in the grayscale image representation in the upper portion of FIG. 9, such edge blooms are observed at edges 905 and 910 of feature 915. A linescan is essentially a horizontal cut through a 2D SEM image that provides a grayscale value as a function of horizontal pixel position on the feature, as in the graph shown in the bottom half of FIG. 9.

The data from a single horizontal row of pixels across the sample is called a “linescan”. Note that the term linescan is used here broadly enough to include cases where an image is formed without the use of scanning. The positions of the edges of a feature can be detected from a single linescan, or from a collection of linescans representing the entire image, such as shown in the upper portion of FIG. 9. These same edges appear as peaks 905′ and 910′ in the grayscale value vs. pixel position graph in the lower portion of FIG. 9. Once the edges of a particular feature have been determined, the width of the particular feature is the difference between the positions of these two edges.

5. Linescan Models

Images are created through a physical process based on the microscope or other imaging tool used to acquire the image of a structure. Often these images are two-dimensional arrays of data, where the image can be thought of as a data set derived from the structure. A single one-dimensional cut through the image is called a linescan. A model of the imaging tool can predict the image for a given structure being imaged. For example, a model that describes a scanning electron microscope can predict the image that would be obtained by a SEM when imaging a given structure.

A CD-SEM converts a measured linescan or a series of measured linescans into a single dimension number, the measured CD. To better understand how the linescan relates to the actual dimensions of the feature being measured, it is important to understand how the systematic response of the SEM measurement tool to pattern structures impacts the shape of the resulting linescan. Rigorous 3D Monte Carlo simulations of SEM linescans can be extremely valuable for this purpose, but they are often too computationally expensive for day-to-day use. Thus, one approach is to develop a simplified analytical linescan model (ALM) that is more computationally appropriate to the task of quickly predicting linescans. The ALM employs the physics of electron scattering and secondary electron generation, and each term in the model has physical significance. This analytical linescan expression can be fit to rigorous Monte Carlo simulations to both validate and calibrate its use.

The general application for the ALM has been the typical forward modeling problem: Given material properties (for the feature and the substrate) and a geometric description of the feature (width, pitch, sidewall angle, top corner rounding, footing, etc.), the ALM predicts the linescan that would result. The mathematical details of the ALM are found in the publications: Chris A. Mack and Benjamin D. Bunday, “Analytical Linescan Model for SEM Metrology”, Metrology, Inspection, and Process Control for Microlithography XXIX, Proc., SPIE Vol. 9424, 94240F (2015), and Chris A. Mack and Benjamin D. Bunday, “Improvements to the Analytical Linescan Model for SEM Metrology”, Metrology, Inspection, and Process Control for Microlithography XXX, Proc., SPIE Vol. 9778, 97780A (2016), the disclosures of both publications being incorporated herein by reference in their entireties. Other models with similar inputs and outputs can also be used.

The analytical linescan model (ALM) is briefly reviewed below. The mathematical modeling begins by assuming the interaction of the electron beam with a flat sample of a given substance produces an energy deposition profile that takes the form of a double Gaussian, with a forward scattering width and a fraction of the energy forward scattered, and a backscatter width and a fraction of the energy deposited by those backscattered electrons. The model also assumes that the number of secondary electrons that is generated within the material is in direct proportion to the energy deposited per unit volume, and the number of secondary electrons that escape the wafer (and so are detected by the SEM) are in direct proportion to the number of secondary electrons near the very top of the wafer.

The secondary electrons that reach the detector will emerge some distance r away from the position of the incident beam. From the assumptions above, the number of secondary electrons detected will be a function as given in EQUATION 5.

f(r)=ae ^(−r) ² ^(/2σ) ^(f) ² +b ^(e-r) ² ^(/2σ) ^(b) ²   EQUATION 5

where σ_(f) and σ_(b) are the forward and backscatter ranges, respectively, and a and b are the amounts of forward scattering and backscattering, respectively.

SEMs detect topography because of the different number of secondary electrons that escape when the beam is in the space between features compared to when the beam is on top of the feature. FIG. 10 shows that secondary electrons have trouble escaping from a space (especially if it is small), making spaces appear relatively dark. When an electron beam is focused to a spot in a space between lines, scattered electrons interact with feature 815 which absorbs some of the escaping secondary electrons. The detected secondary electron signal is reduced as the beam approaches the feature edge within the space.

The absorption by the step (i.e. feature 815) can be modeled to produce a prediction of the shape of the linescan in the space region. If a large feature has a left edge 815-1 at x=0, with the feature 815 to the right (positive x), the detected secondary electron signal as a function of position (SE(x)) will be given by EQUATION 6 below:

$\begin{matrix} {{{{For}\mspace{14mu} x} < 0},{\frac{{SE}(x)}{{SE}\left( {- \infty} \right)} = {1 - {\alpha_{f}e^{x/\sigma_{j}}} - {\alpha_{b}e^{x/\sigma_{b}}}}}} & {{EQUATION}\mspace{14mu} 6} \end{matrix}$

where α_(f) is the fraction of forward scatter secondary electrons absorbed by the step and α_(b) is the fraction of backscatter secondary electrons absorbed by the step.

However, when the beam is on top of feature 815, the interaction of the scattered electrons with the feature is very different, as accounted for in EQUATION 7 below. As illustrated in FIG. 8, two phenomena occur as when the beam is closer to the edge compared to further away. First, secondary electrons from both forward and backscattered electrons can more easily escape out of the edge 815-1. This causes the edge bloom already discussed above. To account for this effect, a positive term α_(e)e^(−x/σ) ^(e) is added to account for the enhanced escape of forward-scattered secondary electrons where σ_(e) is very similar to the forward scatter range of the step material. Additionally, the interaction volume itself decreases when the beam is near the edge 815-1, so that there are fewer secondary electrons being generated. Thus, the term α_(v)e^(−x/σ) ^(v) where σ_(v)<σ_(e) is subtracted to give EQUATION 7 below which is the linescan expression for the top of the large feature 815:

$\begin{matrix} {{{{For}\mspace{14mu} x} > 0},{\frac{{SE}(x)}{{SE}(\infty)} = {1 + {\alpha_{e}e^{{- x}/\sigma_{e}}} - {\alpha_{v}e^{{- x}/\sigma_{v}}}}}} & {{EQUATION}\mspace{14mu} 7} \end{matrix}$

FIG. 11 shows an example of the result for this model. More specifically, FIG. 11 shows a predicted linescan of a left-facing resist step 815 (large feature with left edge 815-1 at x=0) on a substrate such as a silicon wafer. The calibrated model 1105 is superimposed on the rigorous Monte Carlo simulation results 1110. The calibrated model 1105 agrees so closely with the Monte Carlo simulation results 1110 that the two curves appear together almost as one line.

The above discussion involves modelling an isolated left-facing edge 815-1. Adapting the model to include a right-facing edge involves translating and reversing the edge and adding the resulting secondaries (i.e., secondary electrons). Some complications arise if the two edges are close enough to interact, resulting in additional terms. Additionally, the impact of non-vertical sidewalls and rounded corners at the top and bottom of the feature edge may be included in the model (FIG. 12).

FIG. 12 shows a representative predicted linescan of a pattern of resist lines and spaces on a silicon wafer. The calibrated model 1205 is superimposed on the rigorous Monte Carlo simulation results 1210. Again, the calibrated model 1205 agrees so closely with the Monte Carlo simulation results 1110 that the two curves appear together almost as one line. A final model (ALM) includes 15 parameters that depend on the properties of the materials of the wafer and feature, and the beam voltage. To validate the model and to calibrate these parameters, rigorous first principle Monte Carlo simulations can be used to generate linescans for different materials and feature geometries. The ALM can then be fit to the Monte Carlo results, producing best-fit values of the 15 unknown parameters.

6. Inverse Linescan Model

Linescan or image models, such as the analytical linescan model (ALM) discussed above, predict an image or the shape of an image linescan for a particular pattern structure (such as a feature on a wafer). The ALM solves a forward modelling problem wherein the model receives geometry information for the particular feature as input, and provides the predicted shape of a respective SEM linescan of the particular feature as output.

In contrast to ALM, the disclosed edge detection system 700 includes a reverse model that receives as input “measured linescan information” from SEM 701 that describes a particular feature on the wafer. In response to the measured linescan information describing the particular feature, edge detection system 700 employs its reverse model to generate as output “feature geometry information” that describes the feature geometry that would produce the measured linescan. Advantageously, edge detection system 700 has been found to be effective even when the measured linescan information from SEM 701 includes a significant amount of image noise. In one embodiment, the outputted feature geometry information includes at least feature width. In another embodiment, the outputted feature information includes feature width and/or other geometry descriptors relative to the geometry of the particular feature, such as sidewall angle, feature thickness, top corner rounding, or bottom footing. It is noted that a feature disposed on a semiconductor wafer is an example of one particular type of pattern structure to which the disclosed technology applies.

Like many models of imaging systems, the ALM is inherently nonlinear. To address the nonlinear nature of the ALM, edge detection system 700 numerically inverts the ALM or a similar forward model and fits the resulting inverse linescan model to a measured linescan to detect feature edges (e.g. to estimate the feature geometry on the wafer). The disclosed edge detection system apparatus and edge detection process include the ability to detect and measure feature roughness. The disclosed apparatus and methodology may apply as well to other applications in general CD metrology of 1D or 2D features, such as the precise measurement of feature width (CD) and edge position or placement.

It is first noted that the ALM (and similar models as well) has two types of input parameters, namely material-dependent parameters and geometry parameters. Material-dependent parameters include parameters such as forward and backscatter distances, while geometry parameters include parameters such as feature width and pitch. In one embodiment, for a repeated edge detection application, the material parameters will be fixed and only the geometry parameters will vary. In the simplest case (that is, for simple edge detection), it is assumed that only the edge positions for the feature are changing, such that sidewall angle, corner rounding, etc., are assumed to be constant. Thus, the use of a linescan model for edge detection in edge detection system 700 involves two steps: 1) calibrating the parameters that are assumed to be constant across the entire image, and then 2) finding the feature edge positions that provide a best fit of the measured linescan to the linescan model for each measurement.

In one embodiment, in the first step, calibration is accomplished by comparing the linescan model to rigorous Monte Carlo simulations. The goal in this step is to find material parameters over the needed range of applications, and to ensure the fitting is adequate for the needed range of feature geometries. When finished, this calibrated linescan model can serve as the starting point for the generation of an inverse linescan model. The Inverse Linescan Model (ILM) should be calibrated to the specific SEM images that are to be measured. Since image grayscale values are only proportional to secondary electron signals, at the very least a mapping to grayscale values is required. In real-world applications, material properties in the experimental measurement will not be identical to those assumed in the Monte Carlo simulations such that some calibration of those parameters will also be required.

7. Calibration of the Inverse Linescan Model

Before using the ILM for edge detection, the ILM is first calibrated. Some parameters of the model (such as material-dependent parameters) are assumed to be constant for the entire image. However, geometry parameters, such as the positions of the edges, feature width and pitch, are assumed to vary for every linescan. The goal of ILM calibration is to determine the parameters that are constant for the whole image, regardless of the exact positions of the feature edges. It is a further goal of ILM calibration to accurately determine these parameters in the presence of image noise. These goals are accomplished by averaging along an axis of symmetry for the feature being measured, thus averaging out both the image noise and the actual feature roughness.

By averaging the linescan along an axis of symmetry (such as the direction parallel to a long line or space feature), information about the actual edge positions is lost, but information about the material parameters of the linescan model remain. Further, noise in the image is mostly averaged out in this way. Calibrating the ILM to the average linescan produces a set of material parameters (or any parameters assumed constant throughout the image) specific to this image.

Many features to be measured exhibit an axis of symmetry appropriate for ILM calibration. For example, a vertical edge has a vertical axis of symmetry. Averaging all pixels in a vertical column of pixels from the image will average away all vertical variation, leaving only horizontal information, in a direction perpendicular to the edge of the feature. The result of this averaging is a one-dimensional linescan called the average linescan. Likewise, a nominally circular contact hole or pillar is ideally radially symmetric. Averaging through polar angle about the center of the feature will produce an average linescan that removes noise and roughness from the image. An elliptical hole shape can also be so averaged by compressing or expanding the pixel size in one direction in proportion to the ratio of major to minor axes of the ellipse. Other axes of symmetry exist for other features as well.

One measured image (for example, one SEM image) may contain one or more features in the image. For example, FIG. 1A shows multiple vertical line features and multiple vertical space features. FIG. 1B shows multiple contact holes. For such a case, each feature can be separately averaged along an axis of symmetry to form an average linescan for that feature. For the example of FIG. 1A, the SEM image can be partitioned into vertical stripes, each stripe containing only one line feature, where the stripe extends horizontally from approximately the center of one space to approximately the center of the next space. For the example of FIG. 1B, the image can be partitioned into separate rectangular regions, each containing exactly one contact hole with the center of the contact hole approximately coinciding with the center of the rectangular region. The averaged linescan for that contact hole is then determined from that rectangular region of the image. Alternately, each of the averaged linescans from each feature in an image can themselves be averaged together to form a single averaged linescan applicable to the entire image.

For a repeated edge detection application (such as the detection of all the edges on a single SEM image), the material parameters will be fixed and only the geometry parameters will vary. In the simplest case (that is, for simple edge detection), one can assume that only the edge positions for the feature are changing, so that feature thickness, sidewall angle, corner rounding, etc., are assumed constant. Thus, the use of the ILM for edge detection will involve two steps: calibrating one time for the parameters that are assumed to be constant (i.e., material and fixed geometry properties) using the average linescan, and then finding the feature edge positions that provide a best fit of the measured linescan to the linescan model for each linescan. Optionally, calibration is first accomplished by comparison of the linescan model to rigorous Monte Carlo simulations, as has been previously described. The goal of this initial step is to find material parameters over the needed range of applications, and to ensure the model is adequate for the needed range of feature geometries. When finished, this partially calibrated linescan model must still be fully calibrated to the specific SEM images that are to be measured using the average linescan.

Once the ILM has been calibrated to the given SEM image or sets of images, it is then used to detect edges. Due to the non-linear nature of linescan models such as the ALM model, numerical inversion is needed, for example using non-linear least-square regression to find the values of the left and right edge positions that best fit the model to the data. For simpler linescan models, a linear least-squares fit may be possible. Other means of “best fit” are also known in the art. The ILM as an edge detector allows the detection of edges in a high noise environment without the use of filters. FIGS. 13A and 13B demonstrate the reliable detection of edges for a very noisy image without the use of any filtering or image smoothing. More particularly, FIG. 13A is an original SEM image of a pattern structure that exhibits 18 nm lines and spaces before edge detection with an ILM. FIG. 13B is the same image after edge detection using an ILM.

Gaussian filters are common image smoothing filters designed to reduce noise in an image. Other filters such as box filters and median filters are also commonly used for this purpose. To illustrate the impact of image filtering on roughness measurement, TABLE 1 below shows the measured 3σ linewidth roughness (LWR) as a function of Gaussian filter x- and y-width (in pixels). For each case, the ILM edge detection method was used, so that the difference in the resulting LWR is only a function of the image filter parameters. The range is almost a factor of two, showing that many different roughness measurements can be obtained based on the arbitrary choice of filter parameters. In all cases, the ILM edge detection was used. If a conventional threshold edge detection method is used, the range of resulting 3σ roughness values is much greater (TABLE 2). Similar results are obtained if other filter types (box or median, for example) are used.

TABLE 1 y-width = 1 y-width = 2 y-width = 3 y-width = 4 x-width = 1 4.99 4.67 4.03 3.82 x-width = 3 4.92 4.02 3.48 3.28 x-width = 5 4.85 3.82 3.28 3.00 x-width = 7 4.79 3.69 3.13 2.84 x-width = 9 4.73 3.59 3.08 2.80 x-width = 11 4.68 3.54 3.07 2.80

The raw (biased) 3σ LWR (nm) as a function of Gaussian filter x- and y-width (in pixels), using ILM edge detection.

TABLE 2 y-width = 1 y-width = 2 y-width = 3 y-width = 4 x-width = 1 11.17 8.52 7.28 x-width = 3 9.58 5.22 4.02 3.72 x-width = 5 8.12 4.62 3.83 3.49 x-width = 7 7.44 4.50 3.78 3.42 x-width = 9 7.03 4.45 3.77 3.41 x-width = 11 6.77 4.44 3.77 3.41

The raw (biased) 3σ LWR (nm) as a function of Gaussian filter x- and y-width (in pixels), using conventional threshold edge detection.

While the arbitrary choice of image filter parameters has a large impact on the measurement of roughness of the pattern structure, the impact of threshold value depends on the specific edge detection method used. For the case of a simple threshold edge detection after image filtering, there is one threshold value that minimizes the 3σ roughness measured, with other values changing the roughness quite dramatically (see FIG. 14). For the case of the ILM, the choice of threshold has almost no impact on the measured LWR (in FIG. 14, the LWR varies from 5.00 nm to 4.95 nm as the threshold is changed from 0.25 to 0.75). Thus, for the conventional prior art method of detecting edges the arbitrary choice of threshold value can cause a large variation in the measured roughness. For the ILM, there are essentially no arbitrary choices that affect the measurement of roughness.

While the disclosed ILM system achieves accurate detection of edges in the presence of high levels of noise, the noise still adds to the measured roughness. For a linescan of a given edge slope, uncertainty in the grayscale values near the line edge translates directly into uncertainty in the edge position. A major difference, though, is that the impact of noise can be measured for the case without filtering. The noise floor of an unfiltered image can be subtracted out from the PSD (power spectral density), producing an unbiased estimate of the PSD (and thus the roughness). For the case of a filtered image, the noise floor is mostly smeared away, so that it cannot be detected, measured, or removed.

FIGS. 15A and 15B show LER power spectral densities from many rough features with right and left edges combined separately. More specifically, FIG. 15A shows raw PSDs after edge detection using the disclosed ILM technology, while FIG. 15B shows PSDs after noise subtraction.

Consider the results shown in FIG. 15A, where the line-edge roughness (LER) for the left and right edges of a feature on a pattern structure are compared. The raw PSDs indicate that the two edges behave differently. However, these differences are an artifact of the SEM, caused by a scan-direction asymmetry (such as charging) that makes the right linescan slope lower than the left linescan slope. In fact, there is no difference between right and left edge on the wafer for this sample. By measuring the noise floor for each edge separately, subtracting the noise produces a common left/right LER (FIG. 15B) that is an unbiased estimate of the true PSD.

Once the noise has been subtracted, reliable analysis of the PSD can lead to reliable estimates of the important roughness parameters, such as the zero-frequency PSD(0), the correlation length ξ, and the roughness exponent H. The unbiased 3σ roughness can also be obtained. Without removing the noise, extraction of these parameters from the empirical PSD is problematic and prone to systematic errors.

8. Unbiased Measurement of PSD

The biggest impediment to accurate roughness measurement is noise in the CD-SEM image. Among other noise sources, SEM images suffer from shot noise, where the number of electrons detected for a given pixel varies randomly. For the expected Poisson distribution, the variance in the number of electrons detected for a given pixel of the image is equal to the expected number of electrons detected for that pixel. Since the number of detected electrons is proportional to the number of electrons that impinge on the sample location represented by that pixel, relative amount of noise can be reduced by increasing the electron dose that the sample is subjected to. For some types of samples, electron dose can be increased with few consequences. But for other types of samples (such as photoresist), high electron dose leads to sample damage (resist line slimming, for example). Other types of samples, such as biological specimens, can also suffer from electron damage. Thus, to prevent sample damage electron dose is kept as low as possible, where the lowest dose possible is limited by the noise in the resulting image.

FIG. 16 shows portions of three SEM images of nominally the same lithographic features taken at different electron doses. More specifically, FIG. 16 shows portions of SEM images of nominally identical resist features with 2, 8, and 32 frames of integration (respectively, from left to right). Doubling the frames of integration doubles the electron dose per pixel. Since the dose is increased by a factor of 4 in each case, the noise goes down by a factor of 2.

SEM image noise adds to the actual roughness of the patterns on the wafer to produce a measured roughness that is biased higher. Typically, we obtain a biased roughness as given by EQUATION 8A.

σ_(biased) ²=σ_(unbiased) ²+σ_(noise) ²  EQUATION 8A

where σ_(biased) is the roughness measured directly from the SEM image, σ_(unbiased) is the unbiased roughness (that is, the true roughness of the wafer features), and σ_(noise) is the random error in detected edge position (or linewidth) due to noise in the SEM imaging and edge detection. EQUATION 8A assumes that the noise is statistically independent of the roughness on the feature being measured. If this is not the case, more complicated noise models can be used, as further described below. Since an unbiased estimate of the feature roughness is desired, the measured roughness can be corrected by subtracting an estimate of the noise term.

Pixel noise in the SEM creates edge detection noise depending on the shape of the expected linescan for the feature. For example, FIG. 17A shows a typical linescan (grayscale value versus horizontal position, g(x)) for a line feature on a wafer when there is an extremely large number of electrons so that the pixel noise is negligible. The result is the “expected” linescan, that is, the expectation value of the linescan signal from a statistical perspective. By defining a threshold grayscale level, the edge position can be determined. But noise in the grayscale values results in noise in the detected edge position. For a given grayscale noise σ_(gray), the edge position uncertainty σ_(noise) will depend on the slope of the linescan at the edge dg/dx. For small levels of noise,

$\begin{matrix} {\sigma_{noise} \sim \frac{\sigma_{gray}}{d\; {g/{dx}}}} & \left( {8B} \right) \end{matrix}$

Thus, the level of edge detection noise is a function of the pixel grayscale noise and the slope of the linescan at the feature edge.

This equation 8B is strictly only valid for small levels of noise and an infinitely small pixel size. To explore the impact of greater amounts of noise and a non-zero pixel size, simulation of SEM images was employed. Perfectly smooth lines and spaces (25 nm width, 50 nm pitch) were used as inputs to the Analytical Linescan Model in order to create synthetic SEM images. Then the resulting grayscale values (which range from 0 to 255) of each pixel were treated as the mean of a normal distribution with a given standard deviation (σ_(gray)) and a random grayscale number was assigned to each pixel drawn from this normal distribution. These SEM images were then treated as experimental SEM images and measured using an inverse linescan model to detect the edge positions of each feature. The 1-sigma LER measured from these images is the detected edge position uncertainty due to the grayscale pixel noise. FIG. 17B shows the 1-sigma uncertainty in edge detection position for these perfectly smooth features in the presence of grayscale noise. In this graph, the edge detection noise, for three different X pixel sizes, is plotted as a function of grayscale noise for simulated synthetic SEM images (average of 100 images, each with 20 dense lines/space features of width 25 nm and pitch 50 nm). The edge detection used an inverse linescan model and the resulting line-edge roughness of the features was considered to be the edge detection noise. The result is somewhat nonlinear, with higher levels of pixel noise producing ever greater edge detection noise. Further, smaller X pixel sizes produce lower levels of edge detection noise. In fact, the edge detection variance σ_(noise) ² is directly proportional to the X pixel size for low levels of grayscale noise.

Pixel noise is not the only source of edge detection noise. During operation the electron beam is scanned from left to right using beam steering electronics. Errors in the beam steering can place the beam at an incorrect position, which produces an edge error. Charging of the sample during electron exposure will deflect the beam to an incorrect position. While some of the charging effects will be systematic, there will also be random or pseudo-random components that will appear as random variation in the detected edge position.

While several approaches for estimating the SEM edge position noise and subtracting it out have been proposed in the prior art, these approaches have not proven successful for today's small feature sizes and high levels of SEM image noise. The problem is the lack of edge detection robustness in the presence of high image noise. More particularly, when noise levels are high, edge detection algorithms often fail to find the edge. The solution to this problem is typically to filter the image, smoothing out the high frequency noise. For example, if a Gaussian 7×3 filter is applied to the image, then for each rectangular region of the image 7 pixels wide and 3 pixels tall, the grayscale values for each pixel are multiplied by a Gaussian weight and then averaged together. The result is assigned to the center pixel of the rectangle. Box (mean) filters and median filters can also be used and produce similar results. This smoothing makes edge detection significantly more robust when image noise is high. FIG. 17C shows an example of using a simple threshold edge detection algorithm with image filtering in the right image and without image filtering in the left image. Without image filtering, the edge detection algorithm is mostly detecting the noise in the image and does not reliably find the edge.

The use of image filtering can have a large effect on the resulting PSD and measured roughness. FIG. 18 shows the impact of two different image filters on the PSD obtained from a collection of 30 images, each containing 12 features. All images were measured using an inverse linescan model for edge detection. The power spectral densities were averaged from these 360 rough features with images preprocessed using a 7×2 or 7×3 Gaussian filter, or not filtered at all, as labelled in the drawing. As can be appreciated, the high-frequency region is greatly affected by filtering. But even the low frequency region of the PSD shows a noticeable change when using a smoothing filter. Filtering in the y-direction smoothes out high-frequency roughness. Filtering in the x-direction lowers the slope of the linescan, which can affect measured low-frequency roughness. As will be described next, the use of image filtering makes measurement and subtraction of image noise impossible.

If edge detection without image filtering can be accomplished, noise measurement and subtraction can be achieved by contrasting the PSD behavior of the noise with the PSD behavior of the actual wafer features. We expect resist features (as well as after-etch features) to have a PSD behavior as shown in FIG. 19 as the “True PSD” (and also shown earlier in FIG. 4). Correlations along the length of the feature edge reduce high-frequency roughness so that the roughness becomes very small over very short length scales. SEM image noise, on the other hand, can often be assumed to be white noise, so that the noise PSD is flat over all frequencies. Other models of the SEM image noise are also possible, for example using linescan-to-linescan correlation to describe the noise, as further described below. Thus, at a high enough frequency the measured PSD will be dominated by image noise and not actual feature roughness (the so-called “noise floor”). Given the grid size along the length of the line (Δy), SEM edge detection white noise affects the PSD according to EQUATION 9 below:

PSD _(biased)(f)=PSD _(unbiased)(f)+σ_(noise) ² Δy  EQUATION 9

Thus, measurement of the high-frequency PSD (in the absence of any image filtering) provides a measurement of the SEM edge detection noise. FIG. 19 illustrates this approach for the case of a white SEM noise model. Clearly, this approach to noise subtraction cannot be used on PSDs coming from images that have been filtered, because such filtering removes the high-frequency noise floor (see FIG. 18).

EQUATION 9 assumes a white noise model, where the noise found in any pixel of the image is independent of the noise found in any other pixel. This may not always be the case. For example, the noise in each pixel may be correlated somewhat with its nearest neighbors, affecting σ_(gray) in equation 8B. Alternately, the grayscale slope in equation 8B may be correlated from one row of pixels to the next, possibly caused by the interaction volume of the electrons as shown in FIG. 8. If a correlation model is assumed or measured, a suitable noise expression for the PSD can be used to replace EQUATION 9, as further described below.

FIG. 19 shows one embodiment of the noise subtraction process of the disclosed edge detection apparatus and method. In the disclosed edge detection method, the method first detects the positions of the edges using the ILM without the use of any image filtering (for example, using an inverse linescan method). From these detected edges a biased PSD is obtained, which is the sum of the actual wafer roughness PSD and the SEM noise PSD. Using a model for the SEM image noise (such as a constant white noise PSD), the amount of noise is determined by measuring the noise floor in the high-frequency portion of the measured PSD. The true (unbiased) PSD is obtained by subtracting the noise level from the as-measured (biased) PSD. The key to using the above approach of noise subtraction for obtaining an unbiased PSD (and thus unbiased estimates of the parameters σ_(LWR)(∞), PSD(0), and is to robustly detect edges without the use of image filtering. This can be accomplished using an inverse linescan model. An inverse linescan model was used to generate the no-filter PSD data shown in FIG. 18.

An example method for subtracting white noise will now be described. First, edges are detected from a SEM image without using any image filtering (for example, using an inverse linescan model). The power spectral densities of one or more edges are calculated in the usual way. Since the PSD of a single edge is quite noisy, it is extremely valuable to measure many edges and average the PSDs. Often hundreds or thousands of edges are measured and their PSDs averaged. This averaged PSD is called the biased PSD. From the average biased PSD, the highest frequencies are inspected to determine if a flat noise floor is observed. Such a noise floor is observed whenever the y pixel size is sufficiently smaller than the correlation length of the true roughness. Typically, a y-pixel size that is 20% of the correlation length or smaller is adequate. If a noise floor is observed, the average PSD value in the flat region is calculated. This is the noise floor. This number is then subtracted from the biased PSD at every frequency to produce the unbiased PSD. The unbiased PSD is our best estimate of the true PSD of the roughness on the wafer.

Other SEM errors can influence the measurement of roughness PSD as well. For example, SEM field distortion can artificially increase the low-frequency PSD for LER and PPR, though it has little impact on LWR. Background intensity variation in the SEM can also cause an increase in the measured low-frequency PSD, including LWR as well as LER and PPR. If these variations can be measured, they can potentially be subtracted out, producing the best possible unbiased estimate of the PSD and its parameters. By averaging the results of many SEM images where the only common aspect of the measurements is the SEM used, determination of SEM image distortion and background intensity variation can be made.

Further, the SEM noise itself can vary across the SEM image field. Thus, unbiasing of the roughness measurement can also include the detection of noise that varies across the SEM image field and unbiasing different points in the SEM image field according to its measured noise bias at those points in the SEM image field.

9. Sensitivity to Metrology Tool Settings

Not all noise in measured PSDs is white noise. White noise occurs when the measurement noise of the edge position from each linescan is completely independent of all other linescans (and in particular, its nearest neighbors). White noise occurs in the absence of correlations that connect the errors in one linescan to the errors in the neighboring linescans. Any small correlations in edge errors along the length of the line would cause “pink noise”, a noise signature that is not perfectly flat over the entire frequency region.

The settings of the SEM metrology tool can impact the measured roughness of a feature in a pattern structure. These settings include the magnification and pixel size of SEM 701. These two parameters can be changed independently by changing the number of pixels in the image (from 512×512 to 2048×2048, for example). Additionally, the number of frames of integration (the electron dose) when capturing an SEM image can be adjusted. To study the impact of this setting, the number of frames of integration can be varied from 2 to 32, representing a 16× variation in electron dose, for example.

Total electron dose is directly proportional to the number of frames of integration. Thus, shot noise and its impact on edge detection noise is expected to be proportional to the square root of the number of frames of integration. FIG. 20 shows PSDs of a particular resist feature type on a given wafer, measured with different numbers of frames of integration. In this case, the PSDs correspond to 18 nm resist lines and spaces where only the number of frames of integration was varied. SEM conditions used were 500 eV, 49 images per condition, 21 features per image, pixel size=0.8 nm square, and image size=1024×1024 pixels. The cases of 8 or more frames of integration produce PSDs that exhibit a fairly flat high-frequency noise region. For 2 and 4 frames of integration the noise region is noticeably sloped. Thus, the assumption of white SEM noise is only approximately true, and becomes a more accurate assumption as the number of frames of integration increases and noise level decreases. This observation has been borne out in other circumstances: High noise cases are more likely to exhibit non-flat noise floors.

FIG. 21 shows the biased and unbiased values of the 36 linewidth roughness measured as a function of the number of frames of integration. All conditions were the same as described in FIG. 20, and error bars represent 95% confidence interval estimates. The biased roughness varies from 8.83 nm at two frames of integration to 5.68 nm at 8 frames and 3.98 nm at 32 frames. The unbiased roughness, on the other hand, is fairly stable after 6 frames of integration, varying from 5.25 nm at two frames of integration to 3.25 nm at 8 frames and 3.11 nm at 32 frames. While the biased roughness is 43% higher at 8 frames compared to 32, the unbiased roughness is only 4% higher at 8 frames compared to 32. Since the assumption of white SEM noise is not very accurate at 2 and 4 frames of integration, the noise subtraction of the unbiased measurement using a white noise model is not completely successful at these very low frames of integration. A correlated noise model can produce better noise subtraction especially for the low frames of integration, as is more fully described below. While the results shown are for LWR, similar results are obtained for the measurement of line edge roughness (LER) and pattern placement roughness (PPR).

One possible cause of correlations in edge noise would be correlations in the pixel noise. To test this possibility, isolated edges were measured in the CD-SEM. The edge allows the SEM to perform its imaging functions in a typical way, but at a distance left or right from the edge the field is flat and featureless. In this region the only variation in pixel grayscale values comes from image noise. The correlation coefficient between neighboring pixels can then be calculated. Performing these calculations, the average correlation between neighboring pixels in the x-direction was 0.12, but the average correlation in the y-direction was only 0.01, essentially zero. These correlations coefficients were determined for edges measured at 2 to 32 frames of integration. There was little variation in the pixel-to-pixel correlation as a function of the number of frames of integration. Thus, correlated pixel noise is not responsible for the pink noise observed at low frames of integration. However, it is possible that the linescan slope in equation 8B is responsible for the noise correlations.

A possible cause of noise correlations in the linescan slope comes from the interaction of the beam with the sample. Electrons striking the sample undergo a number of processes that depend on the energy of the electron and the material properties of the sample. Electrons scatter off the atoms of the sample material, release energy, change direction, and often generate a cascade of secondary electrons by ionizing the sample atoms. Occasionally electrons ricochet backwards off the atom nucleus and exit out of the sample (called backscatter electrons). Some of the lower energy secondary electrons can also escape out of the sample (frequently through the edges of a feature, see FIGS. 8A and 8B). The way in which a SEM forms an image is by detecting the number of secondary electrons and/or backscatter electrons that escape the sample for each beam position.

When forming an image using an SEM, a small spot of electrons dwells at a specific point on the sample (i.e., a pixel) while the number of escaping secondary electrons is counted by the secondary electron detector. When the spot is a long way from a feature edge, as in FIG. 8A, the number of detected secondary electrons 805 is small (and the pixel is dark). When the spot is near a feature edge, as in FIG. 8B, secondary electrons 805 from the interaction volume readily escape from the feature edge producing a bright pixel.

The interaction volume of the electrons can be one to a few tens of nanometers in diameter, depending on the beam voltage and the sample material properties. This interaction volume means that electrons impinging on one spot on the sample are influenced by the sample shape over a range determined by the interaction volume. Thus, the slope of the linescan at one row of pixels will not be independent of the slope of the linescan at neighboring pixels whenever the interaction volume radius is greater than the y pixel size. This dependency can be the cause of correlations in the noise, with a noise correlation length affected by the electron beam interaction volume.

10. Calibrating a Machine Learning Model Using Unbiased Roughness Measurements

The results from the measurement of roughness of various pattern structures can be used to calibrate a machine learning model. In one embodiment, unbiased roughness measurements can be used to calibrate a machine learning patterning model, including a physics-guided machine learning patterning model.

Inputs to the machine-learning algorithm are called training data sets and include process inputs and process outputs. Process inputs are parameters such as the patterning process conditions (optical properties of the lithography tool, thickness and properties of the photoresist, a description of the mask pattern, photoresist processing conditions, etch conditions, etc.). Outputs included in the training data set include resist or after-etch pattern width, and unbiased feature roughness measurements such as the PSD or PSD parameters.

In one embodiment, training data sets include unbiased roughness measurements and/or unbiased PSD measurements or parameters. These training data sets could include unbiased roughness measurement made at different patterning process conditions, such as different mask patterns, different etch conditions, or different lithography tool settings.

Using biased roughness measurements for machine learning model calibration causes problems because the bias in the data, for example, caused by SEM image noise, will be treated as actual roughness from the measured features. The machine learning models themselves will become biased, making their predictions less accurate. The efficacy of the models for use in predicting stochastic hot spots or correcting patterns that are susceptible to stochastic variations will be reduced. The efficacy of other uses of models, for example for process design or optimization or equipment design or optimization, will also be reduced.

Thus, it is desirable to use unbiased roughness measurements when training a machine learning algorithm. The use of unbiased measurements, such as unbiased standard deviation of linewidth (LWR) or edge position (LER), or pattern placement (PPR), or the PSD of these quantities, for calibration of a model will improve the accuracy and effectiveness of the machine learning model.

Machine learning models can also be used for metrology. In one embodiment, a machine learning algorithm is used to predict unbiased roughness, potentially including the unbiased PSD, of a pattern structure given one or more noisy images of the pattern structure. The training data sets for such a metrology machine learning tool would include images of pattern structures, such images including noise, and the measured unbiased roughness of those pattern structures. As described herein, example machine learning models include a lithography model, a patterning model, and a metrology model.

While the embodiments described above make reference to the measurement of structures found on semiconductor wafers, as used in the manufacture of semiconductor devices, the invention is not limited to these applications. The invention can be usefully employed to measure the roughness of feature edges found on flat panel displays, microelectromechanical systems, microfluidic systems, optical waveguides, photonic devices, and other electronic, optical, or mechanical devices. Further, the invention can be used to measure the feature edge characteristics of naturally occurring structures such as crystals or minerals, or manmade structures such as nanoparticles or other nanostructures. Further, the invention can be used to measure the feature edge characteristics of biological samples as well.

While the embodiments described above make reference to measurements using a scanning electron microscope, the invention is not limited to that imaging tool. Other imaging tools, such as optical microscopes, stimulated emission and depletion (STED) microscopes, x-ray microscopes, transmission electron microscopes (TEM), focused ion beam microscopes, and helium ion microscopes, can also be used. Other forms of microscopes, such as scanning probe microscopes (atomic force microscopes (AFM) and scanning near-field optical microscopes (SNOM), for example) can be used as well.

While the embodiments described above make reference to top-down images of nominally planar pattern structures to measure edge roughness, the invention is not limited to such pattern structure geometries. Three-dimensional structures, non-flat structures, curved surfaces, or tilted structures can be measured using this invention. Besides edge roughness, surface roughness can be measured and analyzed using similar techniques as described in this invention.

While the embodiments described above make reference to the measurement of roughness, the invention can be used to make other measurements as well. For example, highly accurate determination of pattern structure edges can be used in the measurement of feature width, feature placement, edge placement, and other similar measures. Contours of measured features can be used for many purposes, such as modeling or controlling the performance of the measured device. By collecting and statistically averaging the measurement of many samples, even greater accuracy (lower uncertainty) can be obtained.

Consistent with the above disclosure, the examples of systems and methods enumerated in the following clauses are specifically contemplated and are intended as a non-limiting set of examples.

Clause 1. A method comprising;

-   -   generating, using an imaging device, a set of one or more         images, each image of the set including an instance of a feature         within a respective pattern structure, each image including         measured linescan information corresponding to the pattern         structure that includes noise;     -   detecting edges of the features within the pattern structure of         each image of the set using an inverse linescan model, wherein         the detecting generates edge detection measurements;     -   generating a biased power spectral density (PSD) dataset         representing feature geometry information corresponding to the         edge detection measurements of the set of images;     -   evaluating a high-frequency portion of the biased PSD dataset to         determine a noise model for predicting noise over all         frequencies of the biased PSD dataset;     -   subtracting the noise predicted by the noise model from a biased         roughness measure to obtain an unbiased roughness measurement;         and     -   providing the one or more images and the unbiased roughness         measurement as part of a training data set to a machine learning         model.

Clause 2. The method of any preceding clause further comprising:

-   -   receiving, at the machine learning model, the unbiased roughness         measurement; and     -   training the machine learning model using the unbiased roughness         measurement.

Clause 3. The method of any preceding clause, wherein a machine learning algorithm trains the machine learning model using the unbiased roughness measurement including at least one selected from a group comprising: an unbiased standard deviation of linewidth (LWR), an unbiased standard deviation of line edge (LER), an unbiased standard deviation of pattern placement (PPR), a PSD corresponding to the unbiased LWR, a PSD corresponding to the unbiased LER, and a PSD corresponding to the unbiased PPR.

Clause 4. The method of any preceding clause, wherein detecting edges of the features further comprises detecting edges of the features within the respective pattern structure of each image of the set without filtering the images.

Clause 5. The method of any preceding clause, wherein the machine learning model includes at least one selected from a group comprising: a lithography model, a patterning model, and a metrology model.

Clause 6. The method of clause 5, wherein:

-   -   the lithography model includes at least one selected from a         group comprising: an optical proximity correction (OPC) model,         an OPC verification model, a source-mask optimization model, and         a mask model, and     -   the patterning model includes at least one selected from a group         comprising: an etch simulation model and a deposition simulation         model, and     -   the metrology model includes at least one selected from a group         comprising: an image de-noising model and an unbiased roughness         measurement model.

Clause 7. The method of any preceding clause, further comprising:

-   -   receiving, at the machine learning model, inputs to a stochastic         process; and     -   predicting, by the machine learning model, a variability in a         final edge position of a printed pattern due to the stochastic         effects.

Clause 8. The method of any preceding clause, wherein evaluating the high-frequency portion of the biased PSD dataset to determine a noise model comprises:

-   -   measuring a noise floor value in the high-frequency portion of         the biased PSD dataset to determine a uniform value of predicted         noise over all frequencies of the biased PSD dataset.

Clause 9. The method of any preceding clause, wherein evaluating the high-frequency portion of the biased PSD dataset to determine a noise model comprises:

-   -   analyzing the biased PSD dataset to determine a set of noise         model parameters defining a pink noise model having a         non-uniform value of predicted noise over all frequencies of the         biased PSD dataset.

Clause 10. A system comprising:

-   -   a processor;     -   a memory coupled to the processor; and     -   an imaging device operatively coupled to the processor;     -   the memory storing a program that, when executed by the         processor, causes the processor to:         -   generate, using the imaging device, a set of one or more             images, each image of the set including an instance of a             feature within a respective pattern structure, each image             including measured linescan information corresponding to the             pattern structure that includes noise;         -   detect edges of the features within the pattern structure of             each image of the set using an inverse linescan model,             wherein the detecting generates edge detection measurements;         -   generate a biased power spectral density (PSD) dataset             representing feature geometry information corresponding to             the edge detection measurements of the set of images;         -   evaluate a high-frequency portion of the biased PSD dataset             to determine a noise model for predicting noise over all             frequencies of the biased PSD dataset;         -   subtract the noise predicted by the noise model from a             biased roughness measure to obtain an unbiased roughness             measurement; and         -   provide the one or more images and the unbiased roughness             measurement as part of a training data set to a machine             learning model.

Clause 11. The system of any preceding clause, wherein the imaging device is a scanning electron microscope (SEM).

Clause 12. The system of clause 10, wherein the machine learning model is configured to:

-   -   train the machine learning model using the unbiased roughness         measurement, wherein the unbiased roughness measurement includes         at least one selected from a group comprising: an unbiased         standard deviation of linewidth (LWR), an unbiased standard         deviation of line edge (LER), an unbiased standard deviation of         pattern placement (PPR), a PSD corresponding to the unbiased         LWR, a PSD corresponding to the unbiased LER, and a PSD         corresponding to the unbiased PPR;     -   receive inputs for a stochastic process; and     -   predict a variability in a final edge position of a printed         pattern due to the stochastic effects.

Clause 13. The system of any preceding clause, wherein the machine learning model includes at least one selected from a group comprising: a lithography model, a patterning model, and a metrology model.

Clause 14. The system of any preceding clause, wherein detecting edges of the features further comprises, detecting edges of the features within the respective pattern structure of each image of the set without filtering the images.

Clause 15. The system of any preceding clause, wherein when the processor evaluates the high-frequency portion of the biased PSD dataset to determine a noise model, the memory further causes the processor to:

-   -   measure a noise floor value in the high-frequency portion of the         biased PSD dataset to determine a uniform value of predicted         noise over all frequencies of the biased PSD dataset.

Clause 16. A computer-readable medium storing instructions that are executable by a processor to cause a computer to execute operations comprising:

-   -   receive measured linescan information corresponding to a pattern         structure that includes noise, wherein the measured linescan         information corresponds to a set of one or more images, each         image of the set including an instance of a feature within the         respective pattern structure;     -   detect edges of the features within the pattern structure of         each image of the set using an inverse linescan model, wherein         the detecting generates edge detection measurements;     -   generate a biased power spectral density (PSD) dataset to         determine a noise model for predicting noise over all         frequencies of the biased PSD dataset;     -   subtract the noise predicted by the noise model from a biased         roughness measure to obtain an unbiased roughness measurement;         and     -   provide the one or more images and the unbiased roughness         measurement as part of a training data set to a machine learning         model.

Clause 17. The computer-readable medium of any preceding clause, wherein a machine learning algorithm trains the machine learning model using the unbiased roughness measure including at least one selected from a group comprising: an unbiased standard deviation of linewidth (LWR), an unbiased standard deviation of line edge (LER), an unbiased standard deviation of pattern placement (PPR), a PSD corresponding to the unbiased LWR, a PSD corresponding to the unbiased LER, and a PSD corresponding to the unbiased PPR.

Clause 18. The computer-readable medium of any preceding clause, wherein the machine learning model includes at least one selected from a group comprising: a lithography model, a patterning model, and a metrology model.

Clause 19. The computer-readable medium of clause 18, wherein:

-   -   the lithography model includes at least one selected from a         group comprising: an optical proximity correction (OPC) model,         an OPC verification model, a source-mask optimization model, and         a mask model, and     -   the patterning model includes at least one selected from a group         comprising: an etch simulation model and a deposition simulation         model; and     -   the metrology model includes at least one selected from a group         comprising: an image de-noising model and an unbiased roughness         measurement model.

Clause 20. The computer-readable medium of any preceding clause, wherein the machine learning model is configured to receive inputs to a stochastic process and predict a variability in a final edge position of a printed pattern due to the stochastic effects.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

Note that not all of the activities described above in the general description or the examples are required, that a portion of a specific activity may not be required, and that one or more further activities can be performed in addition to those described. Still further, the order in which activities are listed are not necessarily the order in which they are performed.

It can be advantageous to set forth definitions of certain words and phrases used throughout this patent document. The term “communicate,” as well as derivatives thereof, encompasses both direct and indirect communication. The terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation. The term “or” is inclusive, meaning and/or. The phrase “associated with,” as well as derivatives thereof, can mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, have a relationship to or with, or the like. The phrase “at least one of,” when used with a list of items, means that different combinations of one or more of the listed items can be used, and only one item in the list can be needed. For example, “at least one of: A, B, and C” includes any of the following combinations: A, B, C, A and B, A and C, B and C, and A and B and C.

The description in the present application should not be read as implying that any particular element, step, or function is an essential or critical element that must be included in the claim scope. The scope of patented subject matter is defined only by the allowed claims. Moreover, none of the claims invokes 35 U.S.C. § 112(f) with respect to any of the appended claims or claim elements unless the exact words “means for” or “step for” are explicitly used in the particular claim, followed by a participle phrase identifying a function. Use of terms such as (but not limited to) “mechanism,” “module,” “device,” “unit,” “component,” “element,” “member,” “apparatus,” “machine,” “system,” “processor,” or “controller” within a claim is understood and intended to refer to structures known to those skilled in the relevant art, as further modified or enhanced by the features of the claims themselves, and is not intended to invoke 35 U.S.C. § 112(f).

Benefits, other advantages, and solutions to problems have been described above with regard to specific embodiments. However, the benefits, advantages, solutions to problems, and any feature(s) that can cause any benefit, advantage, or solution to occur or become more pronounced are not to be construed as a critical, required, or essential feature of any or all the claims.

After reading the specification, skilled artisans will appreciate that certain features are, for clarity, described herein in the context of separate embodiments, can also be provided in combination in a single embodiment. Conversely, various features that are, for brevity, described in the context of a single embodiment, can also be provided separately or in any subcombination. Further, references to values stated in ranges include each and every value within that range.

The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated. 

What is claimed is:
 1. A method comprising; generating, using an imaging device, a set of one or more images, each image of the set including an instance of a feature within a respective pattern structure, each image including measured linescan information corresponding to the pattern structure that includes noise; detecting edges of the features within the pattern structure of each image of the set using an inverse linescan model, wherein the detecting generates edge detection measurements; generating a biased power spectral density (PSD) dataset representing feature geometry information corresponding to the edge detection measurements of the set of images; evaluating a high-frequency portion of the biased PSD dataset to determine a noise model for predicting noise over all frequencies of the biased PSD dataset; subtracting the noise predicted by the noise model from a biased roughness measure to obtain an unbiased roughness measurement; and providing the one or more images and the unbiased roughness measurement as part of a training data set to a machine learning model.
 2. The method of claim 1, further comprising: receiving, at the machine learning model, the unbiased roughness measurement; and training the machine learning model using the unbiased roughness measurement.
 3. The method of claim 2, wherein a machine learning algorithm trains the machine learning model using the unbiased roughness measurement including at least one selected from a group comprising: an unbiased standard deviation of linewidth (LWR), an unbiased standard deviation of line edge (LER), an unbiased standard deviation of pattern placement (PPR), a PSD corresponding to the unbiased LWR, a PSD corresponding to the unbiased LER, and a PSD corresponding to the unbiased PPR.
 4. The method of claim 1, wherein detecting edges of the features further comprises detecting edges of the features within the respective pattern structure of each image of the set without filtering the images.
 5. The method of claim 1, wherein the machine learning model includes at least one selected from a group comprising: a lithography model, a patterning model, and a metrology model.
 6. The method of claim 5, wherein: the lithography model includes at least one selected from a group comprising: an optical proximity correction (OPC) model, an OPC verification model, a source-mask optimization model, and a mask model, and the patterning model includes at least one selected from a group comprising: an etch simulation model and a deposition simulation model, and the metrology model includes at least one selected from a group comprising: an image de-noising model and an unbiased roughness measurement model.
 7. The method of claim 1, further comprising: receiving, at the machine learning model, inputs to a stochastic process; and predicting, by the machine learning model, a variability in a final edge position of a printed pattern due to the stochastic effects.
 8. The method of claim 1, wherein evaluating the high-frequency portion of the biased PSD dataset to determine a noise model comprises: measuring a noise floor value in the high-frequency portion of the biased PSD dataset to determine a uniform value of predicted noise over all frequencies of the biased PSD dataset.
 9. The method of claim 1, wherein evaluating the high-frequency portion of the biased PSD dataset to determine a noise model comprises: analyzing the biased PSD dataset to determine a set of noise model parameters defining a pink noise model having a non-uniform value of predicted noise over all frequencies of the biased PSD dataset.
 10. A system comprising: a processor; a memory coupled to the processor; and an imaging device operatively coupled to the processor; the memory storing a program that, when executed by the processor, causes the processor to: generate, using the imaging device, a set of one or more images, each image of the set including an instance of a feature within a respective pattern structure, each image including measured linescan information corresponding to the pattern structure that includes noise; detect edges of the features within the pattern structure of each image of the set using an inverse linescan model, wherein the detecting generates edge detection measurements; generate a biased power spectral density (PSD) dataset representing feature geometry information corresponding to the edge detection measurements of the set of images; evaluate a high-frequency portion of the biased PSD dataset to determine a noise model for predicting noise over all frequencies of the biased PSD dataset; subtract the noise predicted by the noise model from a biased roughness measure to obtain an unbiased roughness measurement; and provide the one or more images and the unbiased roughness measurement as part of a training data set to a machine learning model.
 11. The system of claim 10, wherein the imaging device is a scanning electron microscope (SEM).
 12. The system of claim 10, wherein the machine learning model is configured to: train the machine learning model using the unbiased roughness measurement, wherein the unbiased roughness measurement includes at least one selected from a group comprising: an unbiased standard deviation of linewidth (LWR), an unbiased standard deviation of line edge (LER), an unbiased standard deviation of pattern placement (PPR), a PSD corresponding to the unbiased LWR, a PSD corresponding to the unbiased LER, and a PSD corresponding to the unbiased PPR; receive inputs for a stochastic process; and predict a variability in a final edge position of a printed pattern due to the stochastic effects.
 13. The system of claim 10, wherein the machine learning model includes at least one selected from a group comprising: a lithography model, a patterning model, and a metrology model.
 14. The system of claim 10, wherein detecting edges of the features further comprises, detecting edges of the features within the respective pattern structure of each image of the set without filtering the images.
 15. The system of claim 10, wherein when the processor evaluates the high-frequency portion of the biased PSD dataset to determine a noise model, the memory further causes the processor to: measure a noise floor value in the high-frequency portion of the biased PSD dataset to determine a uniform value of predicted noise over all frequencies of the biased PSD dataset.
 16. A computer-readable medium storing instructions that are executable by a processor to cause a computer to execute operations comprising: receive measured linescan information corresponding to a pattern structure that includes noise, wherein the measured linescan information corresponds to a set of one or more images, each image of the set including an instance of a feature within the respective pattern structure; detect edges of the features within the pattern structure of each image of the set using an inverse linescan model, wherein the detecting generates edge detection measurements; generate a biased power spectral density (PSD) dataset to determine a noise model for predicting noise over all frequencies of the biased PSD dataset; subtract the noise predicted by the noise model from a biased roughness measure to obtain an unbiased roughness measurement; and provide the one or more images and the unbiased roughness measurement as part of a training data set to a machine learning model.
 17. The computer-readable medium of claim 16, wherein a machine learning algorithm trains the machine learning model using the unbiased roughness measure including at least one selected from a group comprising: an unbiased standard deviation of linewidth (LWR), an unbiased standard deviation of line edge (LER), an unbiased standard deviation of pattern placement (PPR), a PSD corresponding to the unbiased LWR, a PSD corresponding to the unbiased LER, and a PSD corresponding to the unbiased PPR.
 18. The computer-readable medium of claim 16, wherein the machine learning model includes at least one selected from a group comprising: a lithography model, a patterning model, and a metrology model.
 19. The computer-readable medium of claim 18, wherein: the lithography model includes at least one selected from a group comprising: an optical proximity correction (OPC) model, an OPC verification model, a source-mask optimization model, and a mask model, and the patterning model includes at least one selected from a group comprising: an etch simulation model and a deposition simulation model; and the metrology model includes at least one selected from a group comprising: an image de-noising model and an unbiased roughness measurement model.
 20. The computer-readable medium of claim 16, wherein the machine learning model is configured to receive inputs to a stochastic process and predict a variability in a final edge position of a printed pattern due to the stochastic effects. 